package util

func TransImageURL(imageUrl string) (string, string) {
	switch imageUrl[11] {
	case 'j': return imageUrl[23:], "jpg"
	case 'p': return imageUrl[22:], "png"
	case 'g': return imageUrl[22:], "gif"
	}
	return "", ""
}